package com.snatch.snatchmgr.entity.db;

import java.io.Serializable;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @ClassName: ThirdPlayinfo
 * @Description:第三方玩法类
 * @author lilei
 * @date 2012-6-25 下午04:41:04
 * 
 */
public class ThirdPlayinfo implements Serializable {

	private static final long serialVersionUID = -5032629699255163857L;
	private String name;// 玩法名 “standard” 标准盘,”bigsmall” 大小盘,” allow” 让球盘,” onetwo” 单双
	private int gametime; //	1 全场 2上半场
	//	1 全场 2上半场      11 第1节  	12第2节  		13第3节	 	14第4节  								3下半  		5加时
	// 	1 全场 2上半场     11 首盘优胜者  	12次盘优胜者 	13第三盘优胜者 	14第四盘优胜者 	15第五盘优胜者 	4局数获胜者
	private String handicap;
	private String selfID;
	private int closeSign=0;
	private boolean bunch = false; //是否可以接受串
	private long systemUpdateTime;// 系统更新时间
	private String nodeusername; //节点和账号名字
	private boolean valid = true;// 玩法是否有效标识 true=有效 false=无效 
	private long changeTime;
	private ThirdMatch thirdMatch;
	// 第三方交易项信息KEY:gametime+交易项名称
	private ConcurrentHashMap<String, ThirdTradingItem> thirdTradingItems = new ConcurrentHashMap<String, ThirdTradingItem>();

	public String getSelfID() {
		return selfID;
	}

	public void setSelfID(String selfID) {
		this.selfID = selfID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public ConcurrentHashMap<String, ThirdTradingItem> getThirdTradingItems() {
		return thirdTradingItems;
	}

	public void setThirdTradingItems(ConcurrentHashMap<String, ThirdTradingItem> thirdTradingItems) {
		this.thirdTradingItems = thirdTradingItems;
	}

	public int getGametime() {
		return gametime;
	}

	public void setGametime(int gametime) {
		this.gametime = gametime;
	}

	public long getSystemUpdateTime() {
		return systemUpdateTime;
	}

	public void setSystemUpdateTime(long systemUpdateTime) {
		this.systemUpdateTime = systemUpdateTime;
	}

	public String getNodeusername() {
		return nodeusername;
	}

	public void setNodeusername(String nodeusername) {
		this.nodeusername = nodeusername;
	}

	public String getHandicap() {
		return handicap;
	}

	public void setHandicap(String handicap) {
		this.handicap = handicap;
	}

	public boolean isBunch() {
		return bunch;
	}

	public void setBunch(boolean bunch) {
		this.bunch = bunch;
	}

	public int getCloseSign() {
		return closeSign;
	}

	public void setCloseSign(int closeSign) {
		this.closeSign = closeSign;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

	public long getChangeTime() {
		return changeTime;
	}

	public void setChangeTime(long changeTime) {
		this.changeTime = changeTime;
	}

	public ThirdMatch getThirdMatch() {
		return thirdMatch;
	}

	public void setThirdMatch(ThirdMatch thirdMatch) {
		this.thirdMatch = thirdMatch;
	}
	
	

}
